package com.it.sun.learning001.base;

import com.it.sun.learning001.annotation.Log;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

/**
 * @ClassName com.it.sun.learning001.base.CarFactoryBean
 * @Author sunmannian
 * @Date 2021/6/24 15:16
 * @Version V1.0
 * Description  <请输入一句话描述该类功能>
 * Copyright (C) 北京中电兴发科技有限公司  since 2021/6/24
 */
@Component
public class CarFactoryBean implements FactoryBean<Car> {

	private Class<Car> clazz;

	@Override
	@Log
	public Car getObject() throws Exception {
		return new Car();
	}

	@Override
	public Class<?> getObjectType() {
		return Car.class;
	}
}



